//
//  GGShiFuViewController.m
//  tantan
//
//  Created by SQHH on 2017/12/20.
//  Copyright © 2017年 SQHH. All rights reserved.
//

#import "GGShiFuViewController.h"

@interface GGShiFuViewController () <
UITableViewDataSource,
UITableViewDelegate
>

@property (nonatomic, strong) UILabel *fsdafdsf;

/// fasdfads数据源
@property (nonatomic, strong) NSMutableArray *data;

@property (nonatomic, strong) UITableView *fasdfads;

@property (nonatomic, strong) UIButton *fasaf;

@end

@implementation GGShiFuViewController

#pragma mark - # Delegate
//MARK: UITableViewDataSource
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
	return 1;
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
	return self.data.count;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
	return nil;
}

//MARK: UITableViewDelegate
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
	
}

#pragma mark - # Event Response
- (void)fasafTouchUpInside:(UIButton *)sender {
	
}

#pragma mark - # Life Cycle
- (void)loadView {
	[super loadView];
	[self.view addSubview:self.fsdafdsf];
	[self.view addSubview:self.fasdfads];
	[self.view addSubview:self.fasaf];
}

- (void)viewDidLoad {
	[super viewDidLoad];
}

#pragma mark - # Getter
- (UILabel *)fsdafdsf {
	if (!_fsdafdsf) {
		_fsdafdsf = [[UILabel alloc] init];
	}
	return _fsdafdsf;
}

- (NSMutableArray *)data {
	if (!_data) {
		_data = [[NSMutableArray alloc] init];
	}
	return _data;
}

- (UITableView *)fasdfads {
	if (!_fasdfads) {
		_fasdfads = [[UITableView alloc] init];
		[_fasdfads setDelegate:self];
		[_fasdfads setDataSource:self];
	}
	return _fasdfads;
}

- (UIButton *)fasaf {
	if (!_fasaf) {
		_fasaf = [[UIButton alloc] init];
		[_fasaf addTarget:self action:@selector(fasafTouchUpInside:) forControlEvents:UIControlEventTouchUpInside];
	}
	return _fasaf;
}

@end
